/**
 * 推荐到其他岗位
 */
import React from 'react';
import MoreOperate from './MoreOperate';
import { RECOMMEND_TYPE_VALUES } from '../../dictionary';

export default function RecommendOperate({
    resumeId,
    onConfirm,
    button,
    weedOutDisabled,
    type = RECOMMEND_TYPE_VALUES.OTHER,
    ...rest
}) {
    return (
        <MoreOperate
            {...rest}
            resumeId={resumeId}
            onConfirm={onConfirm}
            button={button}
            type={type}
            recommendOutDisabled={weedOutDisabled}
        />
    );
}
